using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevComponents.DotNetBar;

namespace BookStore.Solution.Presentation
{
    public partial class frmPrintBill : DevComponents.DotNetBar.OfficeForm
    {
        public frmPrintBill()
        {
            InitializeComponent();
        }
        int billid;
        public frmPrintBill(int BillID)
        {
            billid = BillID;
            InitializeComponent();
        }

        private void frmPrintBill_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'DataSetBill.EntryBillProduct' table. You can move, or remove it, as needed.
          //  this.EntryBillProductTableAdapter.Fill(this.DataSetBill.EntryBillProduct, billid);
            // TODO: This line of code loads data into the 'DataSetBill.BillDetail' table. You can move, or remove it, as needed.
         this.BillProductTableAdapter.Fill(this.DataSetBill.BillProduct, billid);
            this.reportViewer.RefreshReport();
        }
    }
}